package edu.ped.android.utils;

import java.io.Serializable;


public class PayloadTag implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	
	private int x;
	private int y;
	private int matriceHeight;
	private int matriceWidth;
	

	private Object value;
	
	public PayloadTag(int x, int y, int height, int width, Object valeur){
		this.x = x;
		this.y = y;
		this.matriceHeight=height;
		this.matriceWidth=width;
		this.value = valeur;
	}

	public int getMatriceWidth() {
		return matriceWidth;
	}

	public void setMatriceWidth(int matriceWidth) {
		this.matriceWidth = matriceWidth;
	}
	
	public int getMatriceHeight() {
		return matriceHeight;
	}

	public void setMatriceHeight(int matriceHeight) {
		this.matriceHeight = matriceHeight;
	}

	
	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public Object getValeur() {
		return value;
	}

	public void setValeur(Object valeur) {
		this.value = valeur;
	}
	
	 
	@Override
	public String toString(){
			return "Tag: x="+x+" y="+y+" "+"Value : "+"Taille matrice : height :"+ matriceHeight + " width : "+ matriceWidth+" ";
	}
	
}
